<?php 
   class ctrl{
      private $data;
      public function __construct(){
         $this->data = array();
   


      }
        public function index(){

      $this->data=array('1','2','3');
      $temp_data=$this->data;
      $one='jason';
      $datas=array(
      	'user'=>$one,
      	'list'=>$temp_data);
            require_once('index.php');
        }

   }



 ?>